#include "searcher/searcher.hpp"
#include "index/index.hpp"
#include <iostream>
#include <string>
const std::string raw_html_path = "./data/raw_html/raw.html";
int main()
{
    boost_searcher::searcher_t searcher;
    searcher.init_searcher(raw_html_path);
    while (true)
    {
        std::string ret_str, input_str;
        std::cout<<"plase enter: ";
        std::getline(std::cin,input_str);
        searcher.search(input_str, ret_str);
        std::cout<<ret_str<<std::endl;
    }
    std::cout<<"test done"<<std::endl;
    return 0;
}